TARGET = c-and-cpp.out
all:
	gcc -c foo.c
	g++ main.cpp foo.o -o $(TARGET)
clean:
	rm -rf *.o $(TARGET)